using System;

namespace DailyReport.Core.Data.Model
{
    public class TimeRegister : ModelObject<int>
    {
        string note;
        int type;
        DateTime startTime;
        Nullables.NullableDateTime endTime;
        Daily daily;

        public Daily Daily
        {
            get { return daily; }
            set { daily = value; }
        }


        public Nullables.NullableDateTime EndTime
        {
            get { return endTime; }
            set { endTime = value; }
        }


        public DateTime StartTime
        {
            get { return startTime; }
            set { startTime = value; }
        }


        public int Type
        {
            get { return type; }
            set { type = value; }
        }


        public string Note
        {
            get { return note; }
            set { note = value; }
        }


        public override string ToString()
        {
            return "Note:" + note + " - " + StartTime + " - " + EndTime;
        }
    }
}
